<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./放大镜.css">
</head>
<body>
    <div class="enlarge1">
        <!-- 盒模型叫img -->
      <div class="img">
          <!-- 里面放遮罩框 -->
          <div class="mask"></div>
        </div>
        <!-- 盒模型enlarge 显示放大镜图片 -->
        <div class="enlarge"></div>
    </div>
    
    <br>
    <hr>
    <br>
    
    
    <div class="enlarge2">
        <!-- 盒模型叫img -->
      <div class="img">
          <!-- 里面放遮罩框 -->
          <div class="mask"></div>
        </div>
        <!-- 盒模型enlarge 显示放大镜图片 -->
        <div class="enlarge"></div>
    </div>
    

    <!-- <script src="./放大镜.js"></script> -->
    <script type="module">
        import Enlarge from './放大镜.js'
    let enlarge1 = new Enlarge('.enlarge1')
    let enlarge2 = new Enlarge('.enlarge2')
    </script>
</body>
</html>